package org.jeecg.modules.inventory.service;

import org.jeecg.modules.inventory.entity.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 库存表
 * @Author: jeecg-boot
 * @Date:   2025-04-15
 * @Version: V1.0
 */
public interface IInventoryService extends IService<Inventory> {

    Inventory getByBatchId(String batchId);

    List<Inventory> getByMaterialIdAndTankIdOrderByCreateTime(String materialId, String tankId);

    boolean existsByBatchId(String batchId);

}
